package org.vic.command.after;

/**
 * Created by VIC.Huang on 2016/9/8.
 */
public class Demand implements Task {
    private Programmer programmer;

    public Demand(Programmer programmer) {
        this.programmer = programmer;
    }

    @Override
    public void handle() {
        programmer.handleDemand();
    }

    @Override
    public String toString() {
        return "Demand{" +
                "programmer=" + programmer +
                '}';
    }
}
